<?php

use Swoole\Http\Request;
use Swoole\Http\Response;

$http = new Swoole\Http\Server("0.0.0.0", 80);
$http->on('request', function (Request $request,Response $response) {
    $response->end("<h1>hello</h1>");
});
$http->start();
